package router

import (
	"api-gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func Invoice(v1 *gin.RouterGroup) {
	Invoice := v1.Group("/invoice")
	{
		Invoice.POST("/createInvoice", api.CreateInvoice) //发票添加
		Invoice.GET("/listInvoice", api.ListInvoice)      //发票执行
		Invoice.POST("/delInvoice", api.DelInvoice)       //发票删除
		Invoice.POST("/auditInvoice", api.AuditInvoice)   //发票审核
	}
}
